var initialState={
    comment:[],
}

function comment(state=initialState,action){
    switch(action.type){
        case "GETCOM":
            return Object.assign({},state,{comment:action.data});
        default:
            return state;
    }
}

export default comment;